﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传文件一次完成</title>
</head>
<body>
<input id="myfile" type="file" style="display:none" onpropertychange="document.getElementById('filename').innerText=this.value" />
<a href="javascript:document.getElementById('myfile').click()">浏览...</a>
<br /><span id="filename"></span>
</body>
</html>